import Cookies from 'js-cookie'

export function getToken() {
	return Cookies.get('token')
}

export function setToken(token) {
	return Cookies.set('token', token)
}


export function getRoles() {
	return Cookies.get('roles')
}

export function setRoles(roles) {
	return Cookies.set('roles', roles)
}


export function getName() {
	return Cookies.get('name')
}

export function setName(name) {
	return Cookies.set('name', name)
}


export function getMenu() {
	return Cookies.get('menu')
}

export function setMenu(menu) {
	return Cookies.set('menu', menu)
}


export function getId() {
	return Cookies.get('id')
}

export function setId(id) {
	return Cookies.set('id', id)
}
